﻿using ReflectionStudio.Components.UserControls;
using ReflectionStudio.Core.Events;
using System;
using System.ComponentModel;
using System.Data;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace WPFExcelReport
{
    public partial class MainWindow
    {
       
        public MainWindow()
        {
          
            InitializeComponent(); 
            Name = "MAP配置";

        }
        ViewBase ui;
        public override void OnWorkflowIDChange(MessageEventArgs e)
        {
            base.OnWorkflowIDChange(e);
            MessageInfo msg = e.Info;
            string wid = msg.Details;
            switch (wid)
            {
                case "MAP": 
                    ui = new TMAPCON();     
                    MainTab.Children.Add(ui);
                    break; 
            }
        }  

    }
}
